home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 891 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: hermes.louisville.edu!starbase!gclind01
  2. From: gclind01@starbase.spd.louisville.edu (George C. Lindauer)
  3. Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.sys.ibm.pc.hardware.video,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.misc
  4. Subject: Re: malloc'ing 1.5MB of memory
  5. Date: 9 Jan 1996 23:00:37 GMT
  6. Organization: University of Louisville, Louisville KY USA
  7. Message-ID: <4cus2l$6r@hermes.louisville.edu>
  8. References: <4culvu$612@stc06.ctd.ornl.gov>
  9. NNTP-Posting-Host: starbase.spd.louisville.edu
  10. Keywords: memory msdos
  11. X-Newsreader: NN version 6.5.0 CURRENT #16
  12.  
  13. forrest@esdhof.esd.ornl.gov (Forrest M. Hoffman) writes:
  14.  
  15. >Can anyone tell me how to grab a 1.5 MB chunk of PC memory?  I've got a
  16. >VideoBlaster card and some C code they gave me.  But I want to use the
  17. >full screen (800x600) at 24 bit color.  This means I have to have this
  18. >much space to have the routine dump the data into.  The machine I'm
  19. >using is a 486 with 16MB of memory.  This must be a DOS limitation?
  20.  
  21. Use EMS, XMS, a ramdrive, or a 32-bit compiler.  The latter is easiest.
  22.  
  23. David
  24. >I'm using MS C 6.0 and calling halloc();
  25.  
  26. >Any suggestions?
  27. >-----------------------------------------------------------------------------
  28. >Forrest Hoffman                             forrest@esd.ornl.gov
  29. >Environmental Sciences Division             http://www.esd.ornl.gov/~forrest
  30. >Oak Ridge National Laboratory               (423) 576-7680
  31. >MS 6036, Building 1505, Room 216            (423) 576-8543 fax
  32. >P.O. Box 2008                               36  1' 35" N   84  11' 55" W
  33. >Oak Ridge TN 37831-6036
  34. >-----------------------------------------------------------------------------
  35.